#WSGI_Server 内置的wsgi服务器测试

from wsgiref.simple_server import make_server
from webAppTest import webAppStart

port = 8111
httpd = make_server('',port,webAppStart) #创建http服务器
print('http is ok on port %s'%str(port))

#监听http请求
httpd.serve_forever()

#httpd.handle_request()